﻿using System;

namespace SimpleServiceBus.Messages.Management.RemoteCommands
{
    [Serializable]
    public class RestartEndpointRequestMessage
    {
        /// <summary>
        /// Indicate if a soft restart is requested (calling Stop() then Start()
        /// on the endpoint) or if the process needs to be recycled.
        /// </summary>
        public bool SoftRestart { get; set; }
    }
}